package com.enjoyor.soa.traffic.api.dto.sms;

import java.io.Serializable;
import java.util.List;

import com.enjoyor.soa.traffic.util.enums.signal.SysStatus;

public class CrossStatusDto implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 路口编号。
	 */
	private String crossID;	
	/**
	 * 路口名称
	 */
	private String crossName;	
	/**
	 * 信号机状态，1正常，2异常，3未知
	 */
	private String status;
	
	private String statusName;

	/**
	 * 锁定状态
	 */
	private String lockStatus="1";
	/**
	 * 锁定状态名称
	 */
	private String lockStatusName;
	/**
	 * 锁定的相位编号列表
	 */
	private List<String> lockPhaseIds;
	
	public String getCrossID() {
		return crossID;
	}
	public void setCrossID(String crossID) {
		this.crossID = crossID;
	}
	public String getCrossName() {
		return crossName;
	}
	public void setCrossName(String crossName) {
		this.crossName = crossName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
		this.statusName = SysStatus.getValue(status);
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public String getLockStatus() {
		return lockStatus;
	}
	public void setLockStatus(String lockStatus) {
		this.lockStatus = lockStatus;
	}
	public String getLockStatusName() {
		return lockStatusName;
	}
	public void setLockStatusName(String lockStatusName) {
		this.lockStatusName = lockStatusName;
	}
	public List<String> getLockPhaseIds() {
		return lockPhaseIds;
	}
	public void setLockPhaseIds(List<String> lockPhaseIds) {
		this.lockPhaseIds = lockPhaseIds;
	}
	
	
}
